package com.example.e_comm.dto;

import jakarta.validation.constraints.*;
import lombok.Data;

@Data
public class UserDTO {
    @NotBlank
    private String username;

    @Email
    private String email;

    @Size(min = 6, max = 20)
    private String password;

    private String avatarUrl;
}